package lab9;

public class info {
	private String name;
	private String age;
	private String sex;
	private String[] like;
	private String cars;
	private String text;
	public info(){
		this.name="empty";
		
	}
	public String getname() {
		if(name==null)
			return "empty";
		return name;
	}
	public String getage() {
		return age;
	}
	public String getsex() {
		return sex;
	}
	public String[] getlike() {
		return like;
	}
	public String gettext() {
		return text;
	}
	public String getcars() {
		return cars;
	}
	
	public void setname(String name) {
		this.name=name;
	}
	public void setage(String age) {
		this.age=age;
	}
	public void setsex(String sex) {
		this.sex=sex;
	}
	public void  setlike(String[] like) {
		this.like=like;
	}
	public void  setcars(String cars) {
		this.cars=cars;
	}
	public void settext(String text) {
		this.text=text;
	}
}
